package com.yang.demo;

import android.app.Application;
import android.content.Context;
import android.text.TextUtils;
import android.widget.Toast;

import com.yang.demo.greendao.DaoManager;
import com.yang.demo.util.XlsToJson;


public class ProjectApplication extends Application {

    private static ProjectApplication instance;
    private static boolean isDebug;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        isDebug = true;


    }

    public static ProjectApplication getInstance() {
        return instance;
    }

    public static Context getApplication() {
        return instance.getApplicationContext();
    }

    public static boolean isDebug() {
        return isDebug;
    }
}
